package marchsoft.modules.selfFish.pisciculture.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/** 鱼群
 * @title 鱼群
 * @description 鱼群
 * @author Lenovo
 * @version 1.0
 * @create 2024-07-15 15:55
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "FishDto对象", description = "鱼群")
public class FishDto extends Model<FishDto> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "鱼的名称")
    private String fishName;

    @ApiModelProperty(value = "鱼的类型")
    private String fishType;

    @ApiModelProperty(value = "说明")
    private String description;

    @ApiModelProperty(value = "金额")
    private BigDecimal price;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "状态")
    private boolean status;

    @ApiModelProperty(value = "实物图片存储路径")
    private String url;

    @ApiModelProperty(value = "文件id")
    private Long fileId;

    /*@ApiModelProperty(value = "创建人")
    private Long createdUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;*/
}
